package com.goldcup.common;

public enum ErrorCode {
    USER_REPEAT(1000+1,"该用户已注册");

    private Integer code;
    private String msg;
    private ErrorCode(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }
    public Integer getCode() {
        return code;
    }
    public String getMsg() {
        return msg;
    }
}
